function go(url)
{
    try
    {
        Richfaces.showModalPanel('modalWait');
    }
    catch (e) {}
    document.location=url;
}